public class GCTest {
  public static void main(String[] args) {
    int numberOfIterations = 100000000;
    Foo[] arr = new Foo[100000000];
    for(int i = 0; i < numberOfIterations; i++) {
      Foo foo = new Foo(i);
      arr[i] = foo;
    }
  }
}
